package com.extweb4j.web.bean;

import java.util.Date;

/**
 * @description: .
 * @author: ZhaoWeiNan .
 * @createdTime: 2018/12/13 .
 * @version: 1.0 .
 */
public class News {
     /* 'id',
		'title',
		'type',
		'content',
		'state',
		'create_time',
		'user'*/
    private Long id;
    private String title;
    private String type;
    private String content;
    private Integer state;
    private String user;
    private Date create_time;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return "News{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", type='" + type + '\'' +
                ", content='" + content + '\'' +
                ", state=" + state +
                ", user='" + user + '\'' +
                ", create_time=" + create_time +
                '}';
    }
}
